namespace RiceShop.Models
{
    /// <summary>
    /// 支付信息类
    /// </summary>
    public class PaymentInfo
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; } = string.Empty;

        /// <summary>
        /// 支付金额（元）
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 支付链接（H5支付时使用）
        /// </summary>
        public string PaymentUrl { get; set; } = string.Empty;

        /// <summary>
        /// 时间戳
        /// </summary>
        public string TimeStamp { get; set; } = string.Empty;

        /// <summary>
        /// 随机字符串
        /// </summary>
        public string NonceStr { get; set; } = string.Empty;

        /// <summary>
        /// 订单详情扩展字符串
        /// </summary>
        public string Package { get; set; } = string.Empty;

        /// <summary>
        /// 签名方式
        /// </summary>
        public string SignType { get; set; } = string.Empty;

        /// <summary>
        /// 支付签名
        /// </summary>
        public string PaySign { get; set; } = string.Empty;
    }
}